<%--
  Created by IntelliJ IDEA.
  User: zjk
  Date: 2018-07-31
  Time: 21:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>表单</title>
    <link rel="shortcut icon" href="easyui/css/images/favicon.ico" />
    <link rel="stylesheet" href="css/flipclock.css">
    <link href="css/CalcSS3.css" rel="stylesheet" type="text/css" />
    <link href="css/index.css" rel="stylesheet" type="text/css" />
    <link href="easyui/css/easyui.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/easyui_animation.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/easyui_plus.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/insdep_theme_default.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/icon.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!-- 引入 ECharts 文件 -->
    <script src="js/echarts.js"></script>
    <!--放入自定义的图表-->
    <script src="js/monitor.js"></script>
    <script type="text/javascript" src="easyui/js/jquery.min.js"></script>
    <script type="text/javascript" src="easyui/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="easyui/js/jquery.insdep-extend.min.js"></script>
</head>
<style>

</style>
<body>
<!-- 引入公用表格和表单样式 -->
<link href="css/utils/utilsDatagrid.css" rel="stylesheet" type="text/css">
<link href="css/utils/utilsForm.css" rel="stylesheet" type="text/css">
<!-- 引入检测js -->
<script type="text/javascript" src="js/before-sale/check.js"></script>

<div class="form-div">
    <form id="zjk-saleChance-f" action="zjk-add-saleChance" method="post">
        <div class="div-title"> ------------------------------<span class="span-title">机会</span>------------------------------</div>
        <div class="dd">
            <input  name="chanceTheme" class="easyui-textbox" data-options="label:'主题',required:true,width:300" validType="textname">
            <span style="width: 25px;display: inline-block;"></span>
            <input name="updateDate"  type= "text" class="easyui-datebox" data-options="label:'更新日期',width:300,panelWidth:230,disabled:true">

        </div>

        <span class="radioSpan"> 状态：
            <input type="radio" name="state" value="跟踪">跟踪</input>
            <input type="radio" name="state" value="成功">成功</input>
            <input type="radio" name="state" value="失败">失败</input>
            <input type="radio" name="state" value="搁置">搁置</input>
            <input type="radio" name="state" value="失效">失效</input>
            </span>
        <div class="dd">
            <input id="zjk-add-saleChance-client" name="clientId" class="easyui-combobox"data-options="label:'客户',width:300">
        </div>

        <div class="div-title">--------------------------<span class="span-title">基本情况</span>----------------------------</div>
        <div class="dd">
            <input id="zjk-add-saleChance-contact" name="contactId" class="easyui-combobox"data-options="label:'联系人',width:300,panelHeight: 'auto'">
            <span style="width: 25px;display: inline-block;"></span>
            <input  class="easyui-textbox" name="type" style="width:300px;" data-options="label:'机会类型',labelAlign:'right'"/>

        </div>
        <div class="dd">
            <input id="zjk-add-saleChance-user" name="userId" class="easyui-combobox"data-options="label:'提供人',width:300">
            <span style="width: 25px;display: inline-block;"></span>
            <input name="findTime"  type= "text" class= "easyui-datebox" data-options="label:'发现时间',width:300,panelWidth:230">

        </div>
        <div class="dd">
            <input name="outlineNeed"  class="easyui-textbox" data-options="label:'需求概要',width:630,height:100,multiline:true">
        </div>
        <div class="div-title">-----------------------------<span class="span-title">预期</span>-----------------------------</div>
        <div class="dd">
            <input name="expectDate"  type= "text" class= "easyui-datebox" data-options="label:'预计签单日期',width:300,labelWidth:110,labelAlign:'right',panelWidth:190">
            <span style="width: 25px;display: inline-block;"></span>
            <select  class="easyui-combobox" name="possibility" style="width:300px;" data-options="label:'可能性',labelAlign:'right',panelHeight: 'auto'">
                <option value="--">--</option>
                <option>00%</option>
                <option>10%</option>
                <option>20%</option>
                <option>30%</option>
                <option>40%</option>
                <option>50%</option>
                <option>60%</option>
                <option>70%</option>
                <option>80%</option>
                <option>90%</option>
                <option>100%</option>
            </select></div>
        <div class="dd">
            <input  name="expectMoney" class="easyui-textbox" data-options="label:'预期金额',width:300,
            labelWidth:110,labelAlign:'right'" validType="checkDotNumber">
            <span style="width: 326px;display: inline-block;"></span>

        </div>
        <div class="div-title">-------------------------<span class="span-title">当前状态</span>-------------------------</div>
        <div class="dd">
            <select  class="easyui-combobox" name="priority" style="width:300px;" data-options="label:'优先级',labelAlign:'right',panelHeight:'auto'">
                <option value="--">--</option>
                <option>一级</option>
                <option>二级</option>
                <option>三级</option>
            </select>
            <span class="radioSpan">星标：
            <input type="radio" name="asterisk" value="无">无</input>
                <input type="radio" name="asterisk" value="红">红</input>
                <input type="radio" name="asterisk" value="黄">黄</input>
                <input type="radio" name="asterisk" value="蓝">蓝</input>
                <input type="radio" name="asterisk" value="绿">绿</input>
            </span>
        </div>
        <div class="dd">
            <select  class="easyui-combobox" name="stage" style="width:300px;" data-options="label:'阶段&nbsp;&nbsp;&nbsp;',labelAlign:'right',panelHeight:'auto'">
                <option value="--">--</option>
                <option>初期沟通</option>
                <option>立项评估</option>
                <option>需求分析</option>
                <option>方案制定</option>
                <option>招投标/竞争</option>
                <option>商务谈判</option>
                <option>签约合同</option>
            </select>
            <span style="width: 25px;display: inline-block;"></span>
            <input  name="stageRemain" class="easyui-textbox" data-options="label:'阶段停留',width:300,
            labelWidth:80,labelAlign:'right'" validType="checkNumber">

        </div>
        <div class="dd">
            <input name="remarks"  class="easyui-textbox" data-options="label:'阶段备注',width:630,height:100,
            labelWidth:80,labelAlign:'right',multiline:true">
        </div>
        <div class="div-title">--------------------------<span class="span-title">自定义信息</span>----------------------------</div>
        <div class="dd" style="margin-bottom:10px; ">
            <input id="yixiang-pname" class="easyui-combobox" name="intentRpoduct" style="width:300px;" data-options="label:'意向产品',labelAlign:'right',panelHeight: 'auto'">


            <span style="width: 25px;display: inline-block;"></span>
            <input  name="succedaneum" class="easyui-textbox" data-options="label:'替代品威胁',width:300,
            labelAlign:'right'">

        </div>
    </form>
</div>
<script>
    $(function () {
        $("#yixiang-pname").combobox({
            url: 'saling/fuzzyQueryProductDetailsList',
            valueField: 'pid',
            textField: 'pname',
            prompt: '输入关键字后搜索',
            mode: 'remote',
            editable: true,
            method: 'post',
            hasDownArrow: false})
    });
</script>
</body>
</html>
